import 'package:get/get_navigation/src/routes/get_route.dart';
import 'package:smart_home/pages/add_device/add_device.dart';
import 'package:smart_home/pages/login/login.dart';
import 'package:smart_home/pages/main/index.dart';
import 'package:smart_home/pages/search_device/search_device.dart';
import 'package:smart_home/pages/setting/setting.dart';

const INITPAGE = "/main";
const INITMAINBODY = 0;
const LOGIN = "/login";
const MAIN = "/main";
const SETTING = "/setting";
const ADDDEVICE = "/addDevice";
const SEARCHDEVICE = "/searchDevice";

List<GetPage> getPages = [
  GetPage(name: LOGIN, page: () => LoginPage()),
  GetPage(name: MAIN, page: () => MainPage()),
  GetPage(name: SETTING, page: () => SettingPage()),
  GetPage(name: ADDDEVICE, page: () => AddDevicePage()),
  GetPage(name: SEARCHDEVICE, page: () => SearchDevicePage())
];
